package com.im.linving.imsdkbll;

import com.im.linving.apputils.functions.Action1;
import com.im.linving.apputils.functions.Action2;
import com.im.linving.imsdkdal.imsdk.IMUserAction;
import com.im.linving.imsdkdal.imsdk.nimImp.Nim_IMUserAction;

import java.util.List;

/**
 * @Author linyong
 * @Date 2016/11/1
 * @Time 10:30
 */
public class IMUserBll {
    private IMUserAction userAction = new Nim_IMUserAction();

    public void login(String name, String pwd, Action1 success, Action2 fail) {
        userAction.login(name, pwd, success, fail);
    }

    public void getFriends(Action1<List<String>> success, Action2 fail) {
        userAction.getFriends(success, fail);
    }


}
